<template>
  <div class="button">{{ text || '按钮' }}</div>
</template>

<script setup lang="ts">
defineOptions({
  name: 'XButton',
})
defineProps<{
  text?: string
}>()
</script>

<style scoped>
.button {
  padding: 5px 10px;
  font-size: 14px;
  color: #333;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 20px;
}
</style>
